import request from '@/utils/request'

// 查询渠道动销统计列表
export function listCustomerGmv(query) {
  return request({
    url: '/report/customerGmv/list',
    method: 'post',
    data: query
  })
}

// 查询渠道动销统计详细
export function getCustomerGmv(id) {
  return request({
    url: '/report/customerGmv/' + id,
    method: 'get'
  })
}

// 新增渠道动销统计
export function addCustomerGmv(data) {
  return request({
    url: '/report/customerGmv/add',
    method: 'post',
    data: data
  })
}

// 修改渠道动销统计
export function updateCustomerGmv(data) {
  return request({
    url: '/report/customerGmv/update',
    method: 'post',
    data: data
  })
}

// 删除渠道动销统计
export function delCustomerGmv(id) {
  return request({
    url: '/report/customerGmv/delete/' + id,
    method: 'post'
  })
}
